<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section class="section-right">
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>储值卡</h3>
			<h4>概览</h4>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">
			<div class="card-store">
				<div class="card-num integral-num">
					<dl>
						<dt>剩余积分</dt>
						<dd>348</dd>
					</dl>
					<dl>
						<dt>累计消费积分</dt>
						<dd>49139</dd>
					</dl>
					<dl>
						<dt>累计发放积分</dt>
						<dd>49487</dd>
					</dl>
			</div>
			<div class="gas-border">
				<nav class="gas-nav">
					<dl day="1">今天</dl>
					<dl day="7">最近7天</dl>
					<dl day="30">最近30天</dl>
					<dl><input name="search_time" class="gas-text" type="text" placeholder="查询时间" id="search_time" value="" lay-key="1"></dl>
				</nav>
				<!--数据趋势-->
				<div class="integral-title">数据趋势</div>
				<div class="echarts_box" id="main"></div>
				<!--数据详情-->
				<div class="integral-titles">数据详情</div>
		       	<table class="layui-table integral-table">
		       		<thead>
		       			<tr>
		       				<th>时间</th>
			       			<th>发放积分</th>
			       			<th>消费积分</th>
			       			<th>净积分</th>
		       			</tr>
		       		</thead>
		       		<tbody>
		       			<tr>
		       				<td>2018-01-31</td>
		       				<td>0</td>
		       				<td>0.00</td>
		       				<td>200</td>
		       			</tr>
		       			<tr>
		       				<td>2018-01-31</td>
		       				<td>0</td>
		       				<td>0.00</td>
		       				<td>200</td>
		       			</tr>
		       			<tr>
		       				<td>2018-01-31</td>
		       				<td>0</td>
		       				<td>0.00</td>
		       				<td>200</td>
		       			</tr>
		       			<tr>
		       				<td>2018-01-31</td>
		       				<td>0</td>
		       				<td>0.00</td>
		       				<td>200</td>
		       			</tr>
		       			<tr>
		       				<td>2018-01-31</td>
		       				<td>0</td>
		       				<td>0.00</td>
		       				<td>200</td>
		       			</tr>
		       		</tbody>
		       	</table>
		       
		       
		        
			</div>
		</div>
		<!--/deer-content-->
	</section>
	<!--js-->
		<aside>
			<script type="text/javascript" src="../layui/layui.js" ></script>
			<script type="text/javascript" src="../js/echarts.min.js" ></script>
			<script type="text/javascript">
				layui.use(['laydate','jquery'],function(){
					var $=layui.jquery
					var laydate=layui.laydate;
						laydate.render({
				        elem: '#search_time', //指定元素
				        range: '/',
				    });
				    //gas-nav样式切换
				    $('.gas-nav dl').eq(0).addClass('active').siblings().removeClass('active')
				    $('.gas-nav dl').bind('click',function(){
				    	$(this).addClass('active').siblings().removeClass('active')
				    })
				})
				
				 	var myChart = echarts.init(document.getElementById('main'));
					option = {
					    title: {
					        text: '积分分析图表',
					        left:'2%'
					    },
					    tooltip: {
					        trigger: 'axis'
					    },
					    legend: {
					        data:['发放积分','消费积分','净积分']
					    },
					    grid: {
					        left: '3%',
					        right: '3%',
					        bottom: '3%',
					        containLabel: true
					    },
					    toolbox: {
					    	left: '95%',
					        feature: {
					            saveAsImage: {}
					        }
					    },
					    xAxis: {
					        type: 'category',
					        boundaryGap: false,
					        data: ["2018-02-01","2018-02-06"]		    },
					    yAxis: {
					        type: 'value'
					    },
					    series: [
					        {
					            name:'发放积分',
					            type:'line',
					            stack: '总量',
					            data:["44.00","400.00"]		        },
					        {
					            name:'消费积分',
					            type:'line',
					            stack: '总量',
					            data:["10.00","200.00"]		        },
					        {
					            name:'净积分',
					            type:'line',
					            stack: '总量',
					            data:[34,200]		        },
					        
					        
					    ]
					};
					// 使用刚指定的配置项和数据显示图表。
			        myChart.setOption(option);

			</script>
		</aside>
		<!--/js-->
</body>
</html>